//
//  cityView.h
//  AddressPickerView
//
//  Created by mac on 2017/5/14.
//  Copyright © 2017年 zeasn. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CityViewDelegate <NSObject>

- (void)confirmAction:(UIButton *)sender cityStr:(NSString *)cityStr;
- (void)cancleAction:(UIButton *)sender;
- (void)baseViewTapAction:(UITapGestureRecognizer *)tap;
@end

@interface CityView : UIView<UIPickerViewDataSource,UIPickerViewDelegate>
{
    
    NSArray *provinceArray;//省的数组

    NSString *provinceStr;//省的名字
    
    NSMutableDictionary *cityDic ;
    NSMutableDictionary *districtDic;
    
    UIView *baseView;
    UIView *_pickerView;
    
    UIPickerView *picker;

}

@property (nonatomic, weak)id<CityViewDelegate>delegate;
@end
